Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​AccessControl.​AccessRule<​T>

Assembly: System.Security.AccessControl

Inheritance: object → AuthorizationRuleAccessRule → AccessRule

Represents a combination of a user's identity, an access mask, and an access control type (allow or deny). An AccessRule`1 object also contains information about the how the rule is inherited by child objects and how that inheritance is propagated.

Properties

public T
Rights
Gets the rights of the current instance.
AccessControlType
Gets the <see cref="T:System.Security.AccessControl.AccessControlType" /> value associated with this <see cref="T:System.Security.AccessControl.AccessRule" /> object.
IdentityReference
Gets the <see cref="T:System.Security.Principal.IdentityReference" /> to which this rule applies.
InheritanceFlags
Gets the value of flags that determine how this rule is inherited by child objects.
public bool
IsInherited
Gets a value indicating whether this rule is explicitly set or is inherited from a parent container object.
PropagationFlags
Gets the value of the propagation flags, which determine how inheritance of this rule is propagated to child objects. This property is significant only when the value of the <see cref="T:System.Security.AccessControl.InheritanceFlags" /> enumeration is not <see cref="F:System.Security.AccessControl.InheritanceFlags.None" /> .

Methods

public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object